GC problem fix and image preloading fix

- Fixed an issue where images where not being removed from memory when
navigating with the next/prev image buttons (forced garbage collection
on image change).
- Fixed issue where preloaded images where binding to the same texture
as the currently viewed image.