Fixing bug for right floating images