Fixed the coordinate system. Use Bounds instead of Frame, see documentation for details.