https://forum.singtown.com/topic/4774/failed-to-set-framesize/2