Fixed recursive calls.
Fixed image width height at the begining