Found bug, text is now painted within a frame