Fixed UI issues with ios7