images are only resizable when theyve been fully loaded