Fixed images bugs.