I have just figured out that the time that it breaks it doesn’t call windowResized() which is very odd