fix compile error
fix sprite sizes incorrect when rotated
update test projects