Add missing `roundf`s to setFrameMidX and setFrameMidY.