Reversed random tracks when applying templates, fixed incorrect list of allowed rotations on the corner template
Applied updated templates