fix setting pressed state on wrong view