Fixed bugs with drag manager and button, fixed jshint errors with BitmapUtils