Print button fails when slider added to the form