Hopefully fixed resizing issue