Fixes transparent transitions
Fixes wrong height image calculation