center triangle despite resize of frame