Refactored X and Y positions to DrawableObject