Found the resize problem I think