Add window and move handling for text rendering into there