 	else
 		Utils.frameSetMidX(frame, layer._context.innerWidth  / 2.0)
 		Utils.frameSetMidY(frame, layer._context.innerHeight / 2.0)
+
+	if snapToPixels
+		frame.x = Math.round(frame.x)
+		frame.y = Math.round(frame.y)
 	layer.frame = frame
 
 class exports.DeviceComponent extends BaseClass


			@_updateDeviceImage()
			@hands.scale = @_calculatePhoneScale()
			centerLayer(@hands)
			centerLayer(@phone)

			[width, height] = @_getOrientationDimensions(

		if handData
			@hands.width = handData.width
			@hands.height = handData.height
			centerLayer(@hands, true)
			centerLayer(@phone)
			@handsImageLayer.size = @hands.size
			@handsImageLayer.y = 0
