This seemed to be causing crashes because the frame's x,y was not initialized to 0.