Another attempt at factoring angle into view box