fixed picking during drag and drop from box; put some constants in model