Fixed Layers

Fixed bug in layer mode that would not pick up mouse drags