Fixing a @pin instead of pin bug on a view